package com.bifang.module.file.common.vo.fileCollectData;

import com.bifang.assistant.common.vo.BasePageVO;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文件信息表QueryVO
 *
 * @author xyh
 * @since 2023-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "FileCollectDataQueryVO", title = "文件信息表查询VO", description = "文件信息表查询实体类")
public class FileCollectDataQueryVO extends BasePageVO {

    @Schema(name = "collectDataId", title = "归集文件id")
    private String collectDataId;

    @Schema(name = "fileId", title = "文件id")
    private Long fileId;

    @Schema(name = "showId", title = "文件显示id")
    private String showId;

    @Schema(name = "fileClassCode", title = "文件分类")
    private String fileClassCode;

    @Schema(name = "fileName", title = "文件名称")
    private String fileName;

    @Schema(name = "fileSuffix", title = "文件后缀（文件类型）")
    private String fileSuffix;

    @Schema(name = "fileEnvId", title = "文件环境主键")
    private Long fileEnvId;

    @Schema(name = "filePath", title = "文件存放路径")
    private String filePath;

    @Schema(name = "fileSize", title = "文件大小")
    private Long fileSize;

    @Schema(name = "orgId", title = "公司id")
    private String orgId;

    @Schema(name = "encryptionFlag", title = "是否加密，0 否 1 是")
    private String encryptionFlag;

    @Schema(name = "filePassowrd", title = "文件加密密码")
    private String filePassowrd;

    @Schema(name = "zipPassword", title = "压缩包解压密码")
    private String zipPassword;

    @Schema(name = "fielderFlag", title = "是否归档 0 否 1是")
    private String fielderFlag;

    @Schema(name = "upAppId", title = "上传应用id")
    private Long upAppId;

    @Schema(name = "uploader", title = "上传人")
    private String uploader;

    @Schema(name = "uploaderId", title = "上传人id")
    private String uploaderId;

    @Schema(name = "upTime", title = "上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date upTime;

    @Schema(name = "fileder", title = "归档人")
    private String fileder;

    @Schema(name = "filederId", title = "归档人id")
    private String filederId;

    @Schema(name = "filederTime", title = "归档时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date filederTime;

    @Schema(name = "remarks", title = "备注")
    private String remarks;

    @Schema(name = "fileMd5", title = "文件md5 用于比对是否一致")
    private String fileMd5;

    @Schema(name = "secrecyLevel", title = "保密级别 1一级 2二级 3三级")
    private String secrecyLevel;

    @Schema(name = "fileCollectCode", title = "文件归集分类编号")
    private String fileCollectCode;

    @Schema(name = "fieldId", title = "元数据")
    private String fieldId;

    @Schema(name = "fieldValue", title = "元数据值")
    private String fieldValue;

    @Schema(name = "collectDataCode", title = "归档编码")
    private String collectDataCode;
}
